package com.jackiechancinema.ssm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class Work {
    private Integer work_id;
    private String work_name;
    private String work_sex;
    @JsonFormat(pattern = "yyyy-MM-hh")
    @DateTimeFormat(pattern = "yyyy-MM-hh")
    private Date work_birthday;
}